Bitmap for WPF
QueryInterface<T>(Object) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX 名前空間 > ComObject クラス > QueryInterface メソッド : QueryInterface<T>(Object) メソッド
The type of the COM interface to query
The managed COM object.
Queries a managed object for a particular COM interface support.
シンタックス
'宣言
 
Public Overloads Shared Function QueryInterface(Of T As ComObject)( _
   ByVal comObject As System.Object _
) As T
public static T QueryInterface<T>( 
   System.object comObject
)
where T: ComObject

パラメータ

comObject
The managed COM object.

型パラメータ

T
The type of the COM interface to query

戻り値の型

An instance of the queried interface
参照

ComObject クラス
ComObject メンバ
オーバーロード一覧